package org.jeecg.modules.app.v1.device.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 这里是一个注释
 *
 * @author scw
 * @version v1.0
 * @date 2024-07-29
 */
@Data
public class ApiAllDeviceEntity implements Serializable {

    @ApiModelProperty("分类名称")
    private String categoryName;
    @ApiModelProperty("分类Id")
    private String categoryId;

    @ApiModelProperty("总数")
    public Integer total;
    @ApiModelProperty("门店数")
    public Integer shopNumber;
    @ApiModelProperty("BD数")
    public Integer bdNumber;
    @ApiModelProperty("仓库数")
    public Integer storageNumber;
    @ApiModelProperty("仓库调拨数")
    public Integer storageTransferNumber;

    @ApiModelProperty("门店故障数")
    public Integer shopFaultNumber;
    @ApiModelProperty("BD故障数")
    public Integer bdFaultNumber;
    @ApiModelProperty("仓库故障数")
    public Integer storageFaultNumber;

    public List<ApiAllDeviceEntity> entityList = new ArrayList<>();



    public ApiAllDeviceEntity(){ }
    public ApiAllDeviceEntity(Integer total,Integer shopNumber,Integer bdNumber, Integer storageNumber
            ,Integer shopFaultNumber,Integer bdFaultNumber, Integer storageFaultNumber){
        this.total = total;
        this.shopNumber = shopNumber;
        this.bdNumber = bdNumber;
        this.storageNumber = storageNumber;
        this.shopFaultNumber = shopFaultNumber;
        this.bdFaultNumber = bdFaultNumber;
        this.storageFaultNumber = storageFaultNumber;
    }

}
